﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZhonTai.Admin.Domain.Patrol;
using ZhonTai.Admin.Services.Patrol.Dto;

namespace ZhonTai.Admin.Services.Patrol.TaskDto
{

    public class PatrolTaskConfigOutput
    {
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? StartTime { set; get; }
        /// <summary>
        /// 截至时间
        /// </summary>
        public DateTime? EndTime { set; get; }

        public virtual FormDetailOutput Form { set; get; }

        //public float BufferRadis { set; get; }
        //public Geometry? Geometry { set; get; }
    }

    public class PatrolTaskPageOutput
    {
        /// <summary>
        /// 任务主键
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 任务名称
        /// </summary>
        public string TaskName { set; get; }
        /// <summary>
        /// 任务类型
        /// </summary>
        public string TaskType { set; get; }

        public ICollection<PatrolTaskConfigOutput> Configs { set; get; }

        ///// <summary>
        ///// 开始时间
        ///// </summary>
        //public DateTime? StartTime { set; get; }
        ///// <summary>
        ///// 截至时间
        ///// </summary>
        //public DateTime? EndTime { set; get; }


        //public virtual FormOutput Form { set; get; }

        //public float BufferRadis { set; get; }

        //public Geometry? Geometry { set; get; }
    }

    /// <summary>
    /// 任务返回
    /// </summary>
    public class PatrolTaskOutput
    {
        /// <summary>
        /// 任务主键
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 任务名称
        /// </summary>
        public string TaskName { set; get; }
        /// <summary>
        /// 任务类型
        /// </summary>
        public string TaskType { set; get; }

        public ICollection<PatrolTaskConfigOutput> Configs { set; get; }
    }
}
